<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <style>
      p {
        color: #f55;
        background: #fcc;
        width: 200px;
        line-height: 100px;
        text-align: center;
        margin: 100px;
      }
      p:nth-child(2){
        display: flex;
        background-color: #f55;
        color: #000;
        /* flex-direction: row-reverse; */
      }
      p:nth-child(1){
        display: flex;
        background-color: #f55;
        color: #000;
        /* flex-direction: row-reverse; */
      }
    </style>
    <div>
      <p>Haha</p>
      <p>Hehe</p>
    </div>
  </body>
</html>
